package cn.fl.ref.fnccappayeeinfobig.service;

import java.util.List;

import cmm.mid.core.framework.dto.DataResultDTO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.ref.fnccappayeeinfobig.vo.FncCapPayeeInfoBigVO;
import fl.flow.facade.flow.dto.FlowStartParamsDTO;
import fl.ref.fnccappayeeinfobig.condition.FncCapPayeeInfoBigQueryCondition;

/**
 * 业务层方法名称前缀： 新增：add* 删除：remove* 修改：modify* 批量：batch* 查询对象：select* get*
 * 查询集合：search*
 */
public interface IFncCapPayeeInfoBigService {

	/**
	 * 获取唯一对象
	 * 
	 * @param id 主键
	 * @return 对象DTO
	 */
	public FncCapPayeeInfoBigVO selectById(Long id) throws BaseException;

	/**
	 * 新增
	 * 
	 * @param entity
	 * @return
	 */
	public Long add(FncCapPayeeInfoBigVO entity) throws BaseException;

	/**
	 * 修改
	 * 
	 * @param entity
	 * @return
	 */
	public boolean modify(FncCapPayeeInfoBigVO entity) throws BaseException;

	/**
	 * 分页查询所有
	 * 
	 * @param page
	 * @return
	 */
	public Pager searchListPage(Pager page) throws BaseException;

	/**
	 * 条件查询所有
	 * 
	 * @param condition
	 * @return 集合
	 */
	public List<FncCapPayeeInfoBigVO> searchList(FncCapPayeeInfoBigQueryCondition condition);

	public DataResultDTO addFlowStart(FlowStartParamsDTO flowStartParamsDTO) throws BaseException;
	public DataResultDTO sendPay(FncCapPayeeInfoBigVO fncCapPayeeInfoBigVO)throws BaseException;
	FncCapPayeeInfoBigVO callPaymentQuery(FncCapPayeeInfoBigVO bigVo);
	public boolean updatePayerAcc(FncCapPayeeInfoBigVO bigVo);
}
